package com.inexas.cu.stratus;

public class NoSuchEntityException extends RuntimeException {
    private static final long serialVersionUID = 8714974138068163155L;

	public NoSuchEntityException(Entity entity) {
		super("No such entity: " + entity.getClass().getName() + ':' + entity.getIdent());
    }

	public NoSuchEntityException(Class<? extends Entity> entityType, Long ident) {
		super("No such entity: " + entityType.getName() + ':' + ident);
    }
}
